package com.ihr360.oneclick.controller;

import com.ihr360.rest.service.IrenshiWeixinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;

@RestController
@RequestMapping("/test")
public class TestGatewayTransfer {

    @Autowired
    private IrenshiWeixinService irenshiWeixinService;

    @GetMapping(value = "/testTransfer", produces = MediaType.APPLICATION_JSON_VALUE)
    public String index() {
        irenshiWeixinService.templateMsgSendBatch(new ArrayList<>());
        return "OK";
    }

}
